package edu.zut.hb.ambiiton.cart.service.impl;

import edu.zut.hb.ambition.base.service.impl.GenericManagerImpl;
import edu.zut.hb.ambition.dao.ambitionRemarkDao;
import edu.zut.hb.ambition.domain.ambitionRemark;
import edu.zut.hb.ambition.service.ambitionRemarkManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

@Component
public class OutpatienttypeRemarkManagerImpl extends GenericManagerImpl<OutpatienttypeRemark,Long>
        implements CartRemarkManager {

    OutpatienttypeRemarkDao outpatienttypeRemarkDao;

    @Autowired
    public void setOutpatienttypeRemarkDao(OutpatienttypeemarkDao OutpatienttypeRemarkDao) {
        this.OutpatienttypeRemarkDao = OutpatienttypeRemarkDao;
        this.dao = this.OutpatienttypeRemarkDao;
    }

    @Override
    public List list() {
        List list = new ArrayList();
        for (int i = 0; i < 100; i++) {
            Outpatiebttype outpatienttype = new Outpatienttype();
            outpatienttype.setCode("report_"+i);
            trepor.setContent("report_content_"+i);
            outpatienttype.setEntityName("edu.zut.hb.fortune");
            list.add(outpatienttype);
        }
        return list;
    }

}